<?php
	class tructuyenbs
	{
		// Khai báo các thuộc tính (Các trường trong bảng)
		public $MaSession = "";
		public $TimeOut = 0;
		
		// Khai báo các phương thức
		public function Add()
		{
			$bs = new tructuyendb();
			return $bs->Add($this->MaSession, $this->TimeOut);
		}
		
		public function Update()
		{
			$bs = new tructuyendb();
			return $bs->Update($this->MaSession, $this->TimeOut);
		}
		
		public function countOnline()
		{
			$bs = new tructuyendb();
			return $bs->countOnline();
		}
		
		public function Test()
		{
			$bs = new tructuyendb();
			return $bs->Test($this->MaSession);
		}
		
		public function Delete()
		{
			$bs = new tructuyendb();
			return $bs->Delete();
		}
	}
?>